package com.ruoyi.hospital.domain.operation;

import com.ruoyi.common.core.domain.NewBaseEntity;
import com.ruoyi.hospital.domain.storeInfo.PharmacyDruginfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 首页卡片对象 operation_card
 * 
 * @author wendao
 * @date 2024-12-27
 */
public class OperationCard extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 描述 */
    @Excel(name = "描述")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 是否热门 0否 1是 */
    @Excel(name = "是否热门 0否 1是")
    private Integer isHot;

    /** 类型：0患者 1医生 2药师 */
    @Excel(name = "类型：0患者 1医生 2药师")
    private Integer type;

    private String skipTo;

    private String drugIds; //药品id
    private List<PharmacyDruginfo> pharmacyDruginfoList;

    public String getDrugIds() {
        return drugIds;
    }

    public void setDrugIds(String drugIds) {
        this.drugIds = drugIds;
    }

    public List<PharmacyDruginfo> getPharmacyDruginfoList() {
        return pharmacyDruginfoList;
    }

    public void setPharmacyDruginfoList(List<PharmacyDruginfo> pharmacyDruginfoList) {
        this.pharmacyDruginfoList = pharmacyDruginfoList;
    }

    /** 删除时间 */
    private Integer deleteTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public String getSkipTo() {
        return skipTo;
    }

    public void setSkipTo(String skipTo) {
        this.skipTo = skipTo;
    }

    public Integer getId()
    {
        return id;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setIsHot(Integer isHot) 
    {
        this.isHot = isHot;
    }

    public Integer getIsHot() 
    {
        return isHot;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("img", getImg())
            .append("content", getContent())
            .append("sort", getSort())
            .append("remark", getRemark())
            .append("isHot", getIsHot())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
